package com.cykj.mapper;

import com.cykj.entity.CyOrderDO;
import com.cykj.entity.OrdersDO;
import com.cykj.vo.CyOrderVO;
import com.cykj.vo.OrdersVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper {
    List<OrdersDO> selectAllById(@Param("ordersVO") OrdersVO ordersVO);

    Integer insertOrder(@Param("cyOrderVO") CyOrderVO cyOrderVO);

    CyOrderDO selectOneById(@Param("id") Integer id);

    Integer updateOrderTimeOut(@Param("cyOrderDO") CyOrderDO cyOrderDO);
}
